Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Conversation

@Aleksey-Terzi
Copy link

Item description format in config has been changed.
An example of the lored snitch was added in the default config.

@Diet-Cola
Copy link

👍👍

@Diet-Cola Diet-Cola reopened this Jul 18, 2022
@Diet-Cola
Copy link

Addresses CivMC/Civ#222

@Aleksey-Terzi did you close this? Github mobile doesn't show anyone closing it that it closed

@Aleksey-Terzi
Copy link
Author

Yes, it was me, I forgot about this PR and re-created my fork so PR was closed automatically.
Thanks for re-opening.

this.fieldGenerator = fieldGenerator;
this.appenders = appenders;

if (this.item.name != null && this.item.name.length() == 0)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

StringUtils.isEmpty(this.item.name)

if (this.item.name != null && this.item.name.length() == 0)
this.item.name = null;

if (this.item.lore != null && this.item.lore.isEmpty())

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CollectionUtils.isEmpty(this.item.lore)

@AngrySoundTech AngrySoundTech self-assigned this Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Status: Ready for Review

Development

Successfully merging this pull request may close these issues.

Add support for lored snitch names

4 participants